package com.cgb2110.serve.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cgb2110.serve.pojo.Department;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Larry
 * @since 2021-12-20
 */
public interface DepartmentMapper extends BaseMapper<Department> {

    List<Department> getAllDepartment(Integer parentId);

    void addDepartment(Department department);

    void deleteDep(Department department);

}
